package pl.wr.aspect.performance;

import org.aspectj.lang.Aspects;

/**
 * @author wieslaw.rodak
 * 
 */
public class Measurer {

	private Measurer() {
	}

	private static class MeterHolder {
		public static final ExecutionTimeAspect meter = Aspects.aspectOf(ExecutionTimeAspect.class);
	}

	/**
	 * @return MeterHolder
	 */
	public static ExecutionTimeAspect getMeasure() {
		return MeterHolder.meter;
	}
}
